﻿using _111.Models;
using MyDapperApi.Models;
using QYWXUpdate.DataModel;

namespace MyDapperApi.Services;

public interface INetUpdateService
{
    Task<string> GetAccessTokenAsync(string corpId, string secret);
    Task<CommonResponse> UpdateKeyData();
    Task<CommonResponse> UpdateImageDataFromApi(QywxImageRequest request);
    Task<CommonResponse> UpdateKeyDataFromApi(QywxKeyRequest request);
    Task<CommonResponse> UpdateListDataFromApi(QywxListRequest request);
    Task<CommonResponse> UpdateWebViewDataFromApi(QywxWebViewRequest request);
    Task<CommonResponse> UpdateQywx(QywxTotalModel request);
    Task<CommonResponse> GetDetail(IdRequest request);
    Task<CommonResponse> GetUserIdByCorpToken();
    Task<CommonResponse> UpdateReport();
}